package com.wpen.unit.cvt.job;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.wpen.unit.infra.mybatis.job.po.AgentExec1LogPo;
import com.wpen.unit.web.dto.job.AgentExec1LogDetailRequest;
import com.wpen.unit.web.dto.job.AgentExec1LogDetailResponse;
import com.wpen.unit.web.dto.job.AgentExec1LogListRequest;
import com.wpen.unit.web.dto.job.AgentExec1LogListResponse;
import com.wpen.unit.web.dto.job.AgentExec1LogListRowsResponse;
import com.wpen.unit.web.dto.job.JobExecAgentLogListRowsResponse;

/**
 * 任务执行器1日志转换类
 * 
 * @author Wang Peng
 * @date 2023-01-20
 *
 */
@Mapper
public interface AgentExec1LogCvt {
	AgentExec1LogCvt INSTANCE = Mappers.getMapper(AgentExec1LogCvt.class);

	AgentExec1LogPo queryListDto2Do(AgentExec1LogListRequest agentExec1LogListRequest);

	AgentExec1LogListResponse queryListDo2Dto(AgentExec1LogPo agentExec1LogPo);

	AgentExec1LogListRowsResponse queryListRowDo2Dto(AgentExec1LogPo agentExec1LogPo);

	AgentExec1LogPo detailDto2Do(AgentExec1LogDetailRequest agentExec1LogDetailRequest);

	AgentExec1LogDetailResponse detailDo2Dto(AgentExec1LogPo agentExec1LogPo);

	JobExecAgentLogListRowsResponse queryListRowDo2Dto2(AgentExec1LogPo agentExec1LogPo);
}
